﻿<%@ Page Title="" Language="C#" MasterPageFile="~/PartyMasterPage.master" AutoEventWireup="true" CodeFile="PartyMemberDetail.aspx.cs" Inherits="PartyMemberDetail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:DataList ID="DLst" runat="server" DataSourceID="ADSource_PartyMemberInfo">
        <ItemTemplate>
            <table>
                <tr>
                    <td>工号</td>
                    <td><asp:Label ID="Lb_EmpID" runat="server" Text='<%# Eval("EmpID") %>' /></td>
                    <td>姓名</td>   
                    <td><asp:Label ID="Lb_EmpName" runat="server" Text='<%# Eval("EmpName") %>' /></td>  
                </tr>
                <tr>
                    <td>性别</td>
                    <td><asp:Label ID="Lb_Gender" runat="server" Text='<%# Eval("Gender") %>' /></td>
                    <td>民族</td>
                    <td><asp:Label ID="Lb_Nationality" runat="server" Text='<%# Eval("Nation") %>' /></td>
                </tr>
                <tr>
                    <td>出生日期</td>
                    <td><asp:Label ID="Lb_BirthDay" runat="server" Text='<%# Eval("BirthDay","{0:yyyy-MM-dd}") %>' /></td>
                    <td>文化程度</td>
                    <td><asp:Label ID="Lb_EducationLevel" runat="server" Text='<%# Eval("EducationLevel") %>' /></td>
                </tr>
                <tr>
                    <td>联系方式</td>
                    <td><asp:Label ID="Lb_ContactInfo" runat="server" Text='<%# Eval("ContactInfo") %>' /></td>
                    <td>政治面貌</td>
                    <td><asp:Label ID="Lb_PoliticalStatus" runat="server" Text='<%# Eval("PoliticalStatus") %>' /></td>
                </tr>
                <tr>
                    <td>籍贯</td>
                    <td><asp:Label ID="Lb_Origin" runat="server" Text='<%# Eval("Origin") %>' /></td>
                </tr>
                <tr>
                    <td>身份证号</td>
                    <td colspan="3"><asp:Label ID="Lb_IDCardNO" runat="server" Text='<%# Eval("IDCardNO") %>' /></td>
                </tr>
                <tr>
                    <td>家庭住址</td>
                    <td colspan="3"><asp:Label ID="Lb_Address" runat="server" Text='<%# Eval("Address") %>' /></td>
                </tr>
                <tr>
                    <td>所在处室</td>
                    <td><asp:Label ID="Lb_Group" runat="server" Text='<%# Eval("Group") %>' /></td>
                    <td>岗位</td>
                    <td><asp:Label ID="Lb_Station" runat="server" Text='<%# Eval("Station") %>' /></td>
                </tr>
                <tr>
                    <td>所在支部</td>
                    <td><asp:Label ID="Lb_PartyBranchName" runat="server" Text='<%# Eval("PartyBranchName") %>' /></td>
                    <td>所在党小组</td>
                    <td><asp:Label ID="Lb_PartyGroupName" runat="server" Text='<%# Eval("PartyGroupName") %>' /></td>
                </tr>
                <tr>
                    <td>发展日期</td>
                    <td><asp:Label ID="Lb_DevelopDate" runat="server" Text='<%# Eval("DevelopDate","{0:yyyy-MM-dd}") %>' /></td>
                    <td>转正日期</td>
                    <td><asp:Label ID="Lb_FormalDate" runat="server" Text='<%# Eval("FormalDate","{0:yyyy-MM-dd}") %>' /></td>
                </tr>
                <tr>
                    
                    <td>党内职务</td>
                    <td><asp:Label ID="Lb_PartyDuty" runat="server" Text='<%# Eval("PartyDuty") %>' /></td>
                </tr>
                <tr>
                    <td>职业</td>
                    <td><asp:Label ID="Lb_Carrer" runat="server" Text='<%# Eval("Carrer") %>' /></td>
                    <td>流入日期</td>
                    <td><asp:Label ID="Lb_JoinDate" runat="server" Text='<%# Eval("JoinDate","{0:yyyy-MM-dd}") %>' /></td>
                </tr>
                <tr>
                    <td>第一介绍人</td>
                    <td><asp:Label ID="Lb_Introducer1" runat="server" Text='<%# Eval("Introducer1") %>' /></td>
                    <td>第二介绍人</td>
                    <td><asp:Label ID="Lb_Introducer2" runat="server" Text='<%# Eval("Introducer2") %>' /></td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:DataList>
    <asp:AccessDataSource ID="ADSource_PartyMemberInfo" runat="server" DataFile="~/App_Data/jwb.mdb"
        SelectCommand="SELECT jwb_Users.EmpID, jwb_Users.EmpName, jwb_Users.IDCardNO, jwb_Users.Gender, jwb_Users.BirthDay, jwb_Users.Nation, jwb_Users.Origin, jwb_Users.PoliticalStatus, jwb_Users.EducationLevel, jwb_Users.Address, jwb_Users.ContactInfo, jwb_Users.Station, jwb_Users.[Group], party_PartyGroup.PartyGroupName, party_PartyGroup.PartyBranchName, party_PartyMember.DevelopDate, party_PartyMember.FormalDate, party_PartyMember.Carrer, party_PartyMember.PartyDuty, party_PartyMember.Duty, party_PartyMember.JoinDate, party_PartyMember.Introducer1, party_PartyMember.Introducer2 FROM ((jwb_Users INNER JOIN party_PartyMember ON jwb_Users.EmpID = party_PartyMember.EmpID) INNER JOIN party_PartyGroup ON party_PartyMember.PartyGroupID = party_PartyGroup.PartyGroupID)  WHERE (jwb_Users.[EmpID] = ?)">
        <SelectParameters>
            <asp:QueryStringParameter DefaultValue="62117" Name="jwb_Users.[EmpID]" QueryStringField="ViewEmpID"
                Type="String" />
        </SelectParameters>
    </asp:AccessDataSource>
</asp:Content>

